/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "摄像头",TableName = "Bai_device")]
    public partial class Bai_device:BaseEntity
    {
        /// <summary>
       ///
       /// </summary>
       [Key]
       [Display(Name ="id")]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid id { get; set; }

       /// <summary>
       ///设备ID，不能重复，手工编制，用于前台创建div
       /// </summary>
       [Display(Name ="设备ID，不能重复，手工编制，用于前台创建div")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       public string cano { get; set; }

       /// <summary>
       ///设备Token
       /// </summary>
       [Display(Name ="设备Token")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       public string deviceToken { get; set; }

       /// <summary>
       ///设备名称
       /// </summary>
       [Display(Name ="设备名称")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       public string deviceName { get; set; }

       /// <summary>
       ///更新时间
       /// </summary>
       [Display(Name ="更新时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? updateTime { get; set; }

       /// <summary>
       ///设备地址
       /// </summary>
       [Display(Name ="设备地址")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       public string rtspAddress { get; set; }

       /// <summary>
       ///摄像头实际地址
       /// </summary>
       [Display(Name ="摄像头实际地址")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       [Editable(true)]
       public string sjaddress { get; set; }

       /// <summary>
       ///相机用户名
       /// </summary>
       [Display(Name ="相机用户名")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string username { get; set; }

       /// <summary>
       ///相机密码
       /// </summary>
       [Display(Name ="相机密码")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string password { get; set; }

       /// <summary>
       ///监控时间段(00:00:00,23:59:59)
       /// </summary>
       [Display(Name ="监控时间段(00:00:00,23:59:59)")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string time_set { get; set; }

       /// <summary>
       ///图片获取周期(秒)
       /// </summary>
       [Display(Name ="图片获取周期(秒)")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? frame_time { get; set; }

       /// <summary>
       ///监控区域
       /// </summary>
       [Display(Name ="监控区域")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       [Editable(true)]
       public string point_mask { get; set; }

       
    }
}